package com.unit.handler;

public class DoubleHandler implements DataObjectHandler {

	@Override
	public Object convert(String data, Class<?> propType) {
		if(propType.equals(Double.TYPE) || propType.equals(Double.class)) {
			return Double.valueOf(data);
		}
		return null;
	}

}
